HTMLify
style.css
Views: 17 | Author: huxn-webdev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | * { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; } body { position: relative; min-height: 100vh; background-color: rgb(10, 10, 165); display: flex; justify-content: center; align-items: center; } .container { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 5px; padding: 10px; display: flex; justify-content: space-between; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); } input { outline: none; background: none; border: none; width: 90%; padding: 10px 20px; font-size: 16px; } .eye-container { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; } #eye-icon { font-size: 20px; color: #777; transition: 0.2s ease; } #eye-icon:hover { color: rgb(10, 10, 165); cursor: pointer; } |